<%@ page language="java" import="java.util.*,com.yang.model.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
  String name=((OperatorModel)session.getAttribute("operator")).getOperatorName();
  boolean ad=((OperatorModel)session.getAttribute("operator")).getAdministrator();
  String operator=ad?"管理员":"操作员";
 %>
  <head>
    <title>登陆成功</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>    
<style type="text/css">
a {
	color: #FFF;
}
#table {
	margin-top: 50px;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
	width:873px;
	height:auto;
	font-size: 0px;
}
td {
	margin-top: 0px;
	text-align: left;
	font-size: 13px;
	color: #FFF;
}
#mainFrame {
	width: 687px;
	position: relative;
	top: 0px;
	left: 0px;
	overflow:hidden;
	border:0px;
}
</style></head>

<body>
<div id="table">
<table width="873" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2">
      <table width="200" border="0">
  <tr>
    <td rowspan="2"><img src="../images/logo.gif" width="173" height="74" /></td>
    <td height="12" bgcolor="#2650a6">&nbsp;</td>
  </tr>
  <tr>
    <td><img src="../images/top.jpg" width="690" height="55" /></td>
  </tr>
  <tr>
    <td height="15" colspan="2" bgcolor="#d4dced">&nbsp;</td>
    </tr>
</table>

    </td>
  </tr>
  <tr>
    <td height="172" bgcolor="#d4dced" valign="top"><table width="173" border="0">    
     <%if(ad){%><!-- 只有操作员为管理员时，才显示如下功能 --> 
      <tr>
        <td valign="top" valign="top">
       	<table width="173" border="0" cellpadding="0" cellspacing="0" id="leftTable">
          <tr>
            <td width="23" height="30" nowrap="nowrap" bgcolor="#2650a6"><img src="../images/Arrow1.gif" width="23" height="23" /></td>
            <td width="19" nowrap="nowrap" bgcolor="#7691c7">&nbsp;</td>
            <td width="131" nowrap="nowrap" bgcolor="#7691c7"><a style= 'text-decoration : none' href="newOperator.jsp?name=<%=name%>&operator_=<%=operator%>" target="mainFrame">新增操作员</a> </td>
          </tr>
        </table></td>
      </tr>
      
      <tr>
        <td><table width="173" border="0" cellpadding="0" cellspacing="0" id="leftTable">
          <tr>
            <td width="23" height="30" nowrap="nowrap" bgcolor="#2650a6"><img src="../images/Arrow1.gif" width="23" height="23" /></td>
            <td width="19" nowrap="nowrap" bgcolor="#7691c7">&nbsp;</td>
            <td width="131" nowrap="nowrap" bgcolor="#7691c7"><a style= 'text-decoration : none' href="queryOperator.jsp?name=<%=name%>&operator=<%=operator%>" target="mainFrame">所有操作员</a> </td>
          </tr>
        </table></td>
      </tr>
      
      <tr>
        <td><table width="173" border="0" cellpadding="0" cellspacing="0" id="leftTable">
          <tr>
            <td width="23" height="30" nowrap="nowrap" bgcolor="#2650a6"><img src="../images/Arrow1.gif" width="23" height="23" /></td>
            <td width="19" nowrap="nowrap" bgcolor="#7691c7">&nbsp;</td>
            <td width="131" nowrap="nowrap" bgcolor="#7691c7"><a style= 'text-decoration : none' href="newMobiles.jsp?name=<%=name%>&operator_=<%=operator%>" target="mainFrame">新增号码</a> </td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="173" border="0" cellpadding="0" cellspacing="0" id="leftTable">
          <tr>
            <td width="23" height="30" nowrap="nowrap" bgcolor="#2650a6"><img src="../images/Arrow1.gif" width="23" height="23" /></td>
            <td width="19" nowrap="nowrap" bgcolor="#7691c7">&nbsp;</td>
            <td width="131" nowrap="nowrap" bgcolor="#7691c7"> <a style= 'text-decoration : none' href="charge.jsp?name=<%=name%>&operator=<%=operator%>" target="mainFrame">配置业务费用</a> </td>
          </tr>
        </table></td>
      </tr>
     <% } %>
      <tr>
        <td height="32">

        <table width="173" border="0" cellpadding="0" cellspacing="0" id="leftTable">
          <tr>
            <td width="23" height="30" nowrap="nowrap" bgcolor="#2650a6"><img src="../images/Arrow1.gif" width="23" height="23" /></td>
            <td width="19" nowrap="nowrap" bgcolor="#7691c7">&nbsp;</td>
            <td width="131" nowrap="nowrap" bgcolor="#7691c7"><a style= 'text-decoration : none' href="newUser.jsp?name=<%=name%>&operator_=<%=operator%>" target="mainFrame"> 开户</a> </td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="32"><table width="173" border="0" cellpadding="0" cellspacing="0" id="leftTable">
          <tr>
            <td width="23" height="30" nowrap="nowrap" bgcolor="#2650a6"><img src="../images/Arrow1.gif" width="23" height="23" /></td>
            <td width="19" nowrap="nowrap" bgcolor="#7691c7">&nbsp;</td>
            <td width="131" nowrap="nowrap" bgcolor="#7691c7"><a style= 'text-decoration : none' href="<%=request.getContextPath()%>/cm/LogOff">退出</a> </td>
          </tr>
        </table>
        </td>
      </tr>
    </table></td>
    <td width="687" height="600" valign="top" rowspan="2" align="left" nowrap="nowrap"><iframe src="LoginSuccessful.jsp?name=<%=name%>&operator_=<%=operator%>" name="mainFrame" frameborder="0" scrolling="no" id="mainFrame"></iframe></td>
  </tr>
  <tr>
    <td width="173" height="150" bgcolor="#d4dced"><p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p></td>
    </tr>
</table>
</div>
</body>
</html>
